package com.zone.editor.inter;


import android.view.View;

public interface EditorViewState {

    View getCurrentSelectedView();

    void setCurrentSelectedView(View currentSelectedView);

    void clearCurrentSelectedView();

    View getAddedView(int index);

    int getAddedViewsCount();

    void clearAddedViews();

    void addAddedView(final View view);

    void removeAddedView(final View view);

    View removeAddedView(final int index);

    boolean containsAddedView(final View view);

    /**
     * Replaces a view in the current "added views" list.
     *
     * @param view The view to replace
     * @return true if the view was found and replaced, false if the view was not found
     */
    boolean replaceAddedView(final View view);

    void clearRedoViews();

    void pushRedoView(final View view);

    View popRedoView();

    int getRedoViewsCount();

    View getRedoView(int index);
}
